﻿namespace TestTool.Proxies.Onvif
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.ServiceModel;
    using System.Xml.Serialization;

    [DebuggerStepThrough, MessageContract(WrapperName="SetDNS", WrapperNamespace="http://www.onvif.org/ver10/device/wsdl", IsWrapped=true), GeneratedCode("System.ServiceModel", "3.0.0.0")]
    public class SetDNSRequest
    {
        [XmlElement("DNSManual"), MessageBodyMember(Namespace="http://www.onvif.org/ver10/device/wsdl", Order=2)]
        public IPAddress[] DNSManual;
        [MessageBodyMember(Namespace="http://www.onvif.org/ver10/device/wsdl", Order=0)]
        public bool FromDHCP;
        [XmlElement("SearchDomain", DataType="token"), MessageBodyMember(Namespace="http://www.onvif.org/ver10/device/wsdl", Order=1)]
        public string[] SearchDomain;

        public SetDNSRequest()
        {
        }

        public SetDNSRequest(bool FromDHCP, string[] SearchDomain, IPAddress[] DNSManual)
        {
            this.FromDHCP = FromDHCP;
            this.SearchDomain = SearchDomain;
            this.DNSManual = DNSManual;
        }
    }
}

